<template>
  <el-container class="main-container">
    <el-header class="main-header">
      <nav-header></nav-header>
    </el-header>
    <el-main class="main-main">
      <div class="main-cpn">
        <router-view></router-view>
      </div>
    </el-main>
  </el-container>
</template>

<script>
import NavHeader from '../../components/nav-header/src/nav-header.vue'
export default {
  data() {
    return {}
  },
  components: { NavHeader }
}
</script>

<style lang="less" scoped>
.main-container {
  height: 100%;
  .main-header {
    background-color: #fff;
    color: #409eff;
  }
  .main-main {
    background-color: #f0f2f6;
  }
}
</style>
